package org.example.project.service;

import org.example.project.util.FileUploadResponse;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author 岩
 * @Package org.example.project.service
 * @Project MyApp
 * @Name FileService
 * @Date 2024-05-02 17:23
 * @Filename FileService
 */
public interface FileService {
    /**
     * 处理文件上传
     * @param file 上传的文件
     * @return 文件路径、名称
     * */
   FileUploadResponse upload(MultipartFile file);
}
